package com.unicom.mec.project.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * 添加项目参数信息
 *
 * @author 刘亮武
 * @date 2020年06月12日
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AddProjectVo {

    @ApiModelProperty(value = "租户主键", required = true)
    @NotNull(message = "租户主键不能为空")
    private Long tenantId;

    @ApiModelProperty(value = "项目名称", required = true)
    @NotBlank(message = "项目名称不能为空")
    private String projectName;

    @ApiModelProperty(value = "项目描述", required = true)
    @NotBlank(message = "项目描述不能为空")
    private String projectDesc;

    @ApiModelProperty(value = "经度", required = true)
    @NotBlank(message = "经度不能为空")
    private String longitude;

    @ApiModelProperty(value = "维度", required = true)
    @NotBlank(message = "维度不能为空")
    private String latitude;
}
